package com.example.exam.user.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户角色关联表
 * table name:  sys_user_role
 * author name: Laity
 * create time: 2019-07-16 15:05:36
 */ 
public class UserRoleBean implements Serializable {

	private static final long serialVersionUID = 1L;

	//主键id	
	private Integer id;
	//用户id	
	private Integer userId;
	//角色id	
	private Integer roleId;
	//状态 1：正常  -1:删除	
	private Integer state;
	//创建人	
	private Integer createUser;
	//创建时间	
	private Date createTime;
	private  String pre;

	public String getPre() {
		return pre;
	}

	public void setPre(String pre) {
		this.pre = pre;
	}
	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	public Integer getUserId(){
		return userId;
	}
	public void setRoleId(Integer roleId){
		this.roleId=roleId;
	}
	public Integer getRoleId(){
		return roleId;
	}
	public void setState(Integer state){
		this.state=state;
	}
	public Integer getState(){
		return state;
	}
	public void setCreateUser(Integer createUser){
		this.createUser=createUser;
	}
	public Integer getCreateUser(){
		return createUser;
	}
	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}
	public Date getCreateTime(){
		return createTime;
	}

}

